package cn.cfoodc.sharding.service.impl;

import cn.cfoodc.sharding.domain.TConfig;
import cn.cfoodc.sharding.mapper.TConfigMapper;
import cn.cfoodc.sharding.service.TConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TConfigServiceImpl implements TConfigService {


    private TConfigMapper tConfigMapper;

    @Autowired
    public TConfigServiceImpl(TConfigMapper mapper){
        this.tConfigMapper=mapper;
    }


    @Override
    public List<TConfig> selectAll() {
        return tConfigMapper.selectAll();
    }
}
